package com.iwhalecloud.citybrain.flow.platform.manager.application.common.enums;

/**
 * @author: niechanggang
 * @date:2021/8/6 16:20
 * @description:
 */
public enum ServiceTaskTypeEnum {

    EXTERNAL_API("externalApi","外部接口"),
    JAVA_DELEGATE("javaDelegate","JavaDelegate"),
    DELEGATE_EXPRESSION("delegateExpression","委托对象"),
    EXPRESSION("expression","方法表达式");



    private   String  code;

    private   String  desc;

    ServiceTaskTypeEnum(String code, String desc){
        this.code  = code;
        this.desc  = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
